<el-dialog :close-on-click-modal="false"  :close-on-press-escape="false"  :title="发放" :visible.sync="showDialog" width="500px" :before-close="handleClose" append-to-body>
    <div class="dialogStyleBaseBox" v-loading="isloading">
        <el-form ref="editForm" :model="form" label-width="120px" label-position="left">
            <el-form-item label="发放数量" prop="data">
                <el-input v-model="form.number" show-word-limit
                    onKeypress="return(/[\d]/.test(String.fromCharCode(event.keyCode)))"></el-input>
            </el-form-item>
            <el-form-item label="选择客户" prop="message">
                <el-button type="primary" @click="chooseUsers" v-if="$vFN.Utils.isEmpty(usersIds)">选择客户</el-button>
                <el-button type="primary" @click="chooseUsers" v-else>已选择</el-button>
            </el-form-item>
        </el-form>
    </div>
    <div slot="footer">
        <el-row>
            <el-col :span="24">
                <el-button :disabled="isloading" @click="cancelDialog">取 消</el-button>
                <el-button :disabled="isloading" type="primary" @click="handOutCoupon">确定</el-button>
            </el-col>
        </el-row>
    </div>
</el-dialog>